let fs = require('fs');
let readFun = (url) =>{
  return new Promise((resolve,reject) =>{
    fs.readFile(url,'utf-8',(err,data) =>{
      if(err){
        reject('读取失败');
      }else{
        resolve(data);
      }
    });
  });
}